Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

266
Vistas
MPCPlayerRequestErrorDomain Code=1000 "Failed to send command 0"
let cloudServiceController = SKCloudServiceController()
let musicPlayer = MPMusicPlayerController.systemMusicPlayer

self.cloudServiceController.requestCapabilities { capabilities, error in
            guard capabilities.contains(.musicCatalogPlayback) else { return }
            self.canMusicCatalogPlayback = true
        }

let tracks = album!.relationships!.tracks!
        let trackIDs = tracks.map { $0.id! }
        let startTrackID = tracks[indexPath.row].id!
        let descriptor = MPMusicPlayerStoreQueueDescriptor(storeIDs: trackIDs)
        descriptor.startItemID = startTrackID
        musicPlayer.setQueue(with: descriptor)
        musicPlayer.play()

I working on MediaPlayer and I got an error as below.

MPMusicPlayerController play] completed error: Error Domain=MPCPlayerRequestErrorDomain Code=1000 "Failed to send command 0" UserInfo={NSDebugDescription=Failed to send command 0, NSUnderlyingError=0x280670f00 {Error Domain=MPCPlayerRequestErrorDomain Code=1000 "Failed to send command 0 (MRSendCommandError = 4)" UserInfo={NSDebugDescription=Failed to send command 0 (MRSendCommandError = 4)}}}

I went through below link but I need to resolve this issue.

https://forums.developer.apple.com/thread/100476

please help me

over 4 years ago · Santiago Trujillo
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda